package com.mxpio.erp.common.enums;

public interface OrderStatusEnums {

	/**
	 * 审核状态
	 *
	 */
	enum BpmnStatus {
		CREATE("01", "开立"), AUDITING("02", "审核中"), AUDITED("03", "已审核"),
		CLOSED("99", "已关闭");

		BpmnStatus(String statusCode, String statusName) {
			this.statusCode = statusCode;
			this.statusName = statusName;
		}

		private String statusCode;

		private String statusName;

		public String getStatusCode() {
			return statusCode;
		}

		public void setStatusCode(String statusCode) {
			this.statusCode = statusCode;
		}

		public String getStatusName() {
			return statusName;
		}

		public void setStatusName(String statusName) {
			this.statusName = statusName;
		}
	}

	/**
	 * 订单执行状态
	 *
	 */
	enum OrderStatus {
		PLAN("10", "计划"), ORDERED("20", "已下达"), PROCESSING("30", "执行中"), FINISHED("40", "已完成"), CLEARED("50", "已结清");

		OrderStatus(String statusCode, String statusName) {
			this.statusCode = statusCode;
			this.statusName = statusName;
		}

		private String statusCode;

		private String statusName;

		public String getStatusCode() {
			return statusCode;
		}

		public void setStatusCode(String statusCode) {
			this.statusCode = statusCode;
		}

		public String getStatusName() {
			return statusName;
		}

		public void setStatusName(String statusName) {
			this.statusName = statusName;
		}

	}

	/**
	 * 订单关闭状态
	 *
	 */
	enum CloseStatus {
		OPEN("open", "未关闭"), CLOSED("closed", "已关闭");

		CloseStatus(String statusCode, String statusName) {
			this.statusCode = statusCode;
			this.statusName = statusName;
		}

		private String statusCode;

		private String statusName;

		public String getStatusCode() {
			return statusCode;
		}

		public void setStatusCode(String statusCode) {
			this.statusCode = statusCode;
		}

		public String getStatusName() {
			return statusName;
		}

		public void setStatusName(String statusName) {
			this.statusName = statusName;
		}

	}
	enum BomStatus{
		CREATE("01", "开立"), AUDITING("02", "审核中"), USING("03", "生效中"), EXPIRED("04", "已失效"), VOIDED("05", "已作废");

		BomStatus(String statusCode, String statusName) {
			this.statusCode = statusCode;
			this.statusName = statusName;
		}

		private String statusCode;

		private String statusName;

		public String getStatusCode() {
			return statusCode;
		}

		public void setStatusCode(String statusCode) {
			this.statusCode = statusCode;
		}

		public String getStatusName() {
			return statusName;
		}

		public void setStatusName(String statusName) {
			this.statusName = statusName;
		}

	}

	enum BuyRequestLineStatus{
		CREATE("01", "开立"), EXECUTE("02", "已执行"), CLOSE("03", "已关闭");

		BuyRequestLineStatus(String statusCode, String statusName) {
			this.statusCode = statusCode;
			this.statusName = statusName;
		}

		private String statusCode;

		private String statusName;

		public String getStatusCode() {
			return statusCode;
		}

		public void setStatusCode(String statusCode) {
			this.statusCode = statusCode;
		}

		public String getStatusName() {
			return statusName;
		}

		public void setStatusName(String statusName) {
			this.statusName = statusName;
		}

	}

}
